<script>
import api from '../api/index.js'
import {get,post} from '../js/HttpUtil.js'


export default {
  data() {
    return {
    }
  },
  methods: {},
  created() {//声明周期
    api.latest().then(res => {
      console.log('==================================')
      console.log(res)
    })
    get()
    post()
  }
}
</script>
<template>
  网路请求
</template>
<style scoped>
img {
  width: 100%;
  height: 300px;
}
</style>